package com.bd.scm.domain.models.consume;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *   消费时间定义表
 * </p>
 *
 * @author Mason
 * @since 2020-01-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("xf_time")
public class XfTime extends Model<XfTime> {

    private static final long serialVersionUID = 1L;

    private String bh;
    private Integer kssj;
    private Integer jssj;
    @TableField("day_offset")
    private Integer dayOffset;
    private Date sj;
    @TableField("gly_no")
    private String glyNo;
    @TableField("dev_serial")
    private String devSerial;
    @TableField("day_order")
    private Integer dayOrder;
    private String lname;
    private String regserial;


    @Override
    protected Serializable pkVal() {
        return this.bh;
    }

}
